package com.mdx.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 区域
 */
@TableName("t_region")
public class RegionBean {

    /**
     * 主键
     */
    @TableId(value = "pk_regionId",type = IdType.AUTO)
    private int regionId;

    /**
     * 区域名
     */
    @TableField("f_regionName")
    private String regionName;

    /**
     * 林种
     */
    @TableField("f_regionKind")
    private String regionKind;

    /**
     * 优势树种
     */
    @TableField("f_advantageTreeKind")
    private String advantageTreeKind;

    /**
     * 地质类
     */
    @TableField("f_landClass")
    private String landClass;

    /**
     * 班级名称
     */
    @TableField("f_className")
    private String className;

    @Override
    public String toString() {
        return "RegionBean{" +
                "regionId=" + regionId +
                ", regionName='" + regionName + '\'' +
                ", regionKind='" + regionKind + '\'' +
                ", advantageTreeKind='" + advantageTreeKind + '\'' +
                ", landClass='" + landClass + '\'' +
                ", className='" + className + '\'' +
                '}';
    }

    public int getRegionId() {
        return regionId;
    }

    public void setRegionId(int regionId) {
        this.regionId = regionId;
    }

    public String getRegionName() {
        return regionName;
    }

    public void setRegionName(String regionName) {
        this.regionName = regionName;
    }

    public String getRegionKind() {
        return regionKind;
    }

    public void setRegionKind(String regionKind) {
        this.regionKind = regionKind;
    }

    public String getAdvantageTreeKind() {
        return advantageTreeKind;
    }

    public void setAdvantageTreeKind(String advantageTreeKind) {
        this.advantageTreeKind = advantageTreeKind;
    }

    public String getLandClass() {
        return landClass;
    }

    public void setLandClass(String landClass) {
        this.landClass = landClass;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public RegionBean() {
    }

    public RegionBean(String regionName, String regionKind, String advantageTreeKind, String landClass) {
        this.regionName = regionName;
        this.regionKind = regionKind;
        this.advantageTreeKind = advantageTreeKind;
        this.landClass = landClass;
    }
}
